package com.hiro.framework.tilegame.controller;

import java.awt.event.FocusEvent;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;

import com.egghiro.framework.j2se.game.core.view.canvas.IScreen;
import com.hiro.framework.tilegame.model.actor.ITileBoard;

public abstract class GameState implements IScreen{
    
//    protected FifteenPuzzleCanvas canvas;
    protected ITileBoard tileBoard;
    
    public GameState(ITileBoard tileBoard){
        this.tileBoard = tileBoard;
    }
    
//    protected boolean equals(FifteenPuzzleCanvas canvas,ITiles tiles){
//        return (this.canvas == canvas) && (this.tiles == tiles);
//    }
    
    protected boolean equals(ITileBoard tileBoard){
        return (this.tileBoard == tileBoard);
    }

    public void mouseClicked(MouseEvent e) {

    }

    public void mouseEntered(MouseEvent e) {

    }

    public void mouseExited(MouseEvent e) {

    }

    public void mousePressed(MouseEvent e) {
    }

    public void mouseReleased(MouseEvent e) {

    }

    public void mouseDragged(MouseEvent e) {

    }

    public void mouseMoved(MouseEvent e) {

    }

    public void keyPressed(KeyEvent e) {
        // TODO
//        SKeyState.keyPressed(e);
    }

    public void keyReleased(KeyEvent e) {
        // TODO
//        SKeyState.keyReleased(e);

    }

    public void keyTyped(KeyEvent e) {

    }

    public void focusGained(FocusEvent e) {

    }

    public void focusLost(FocusEvent e) {

    }
}
